package com.kaili.db.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.pojo.entity.HsEwbsDelivery;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.kaili.pojo.vo.AppointQueryVO;
import com.kaili.pojo.vo.DeliveryPointQueryVO;
import com.kaili.pojo.vo.DeliveryQueryVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
public interface HsEwbsDeliveryMapper extends BaseMapper<HsEwbsDelivery> {

    List<DeliveryQueryVO> queryDeliveryList(Map<String,Object> search);

    List<DeliveryQueryVO> queryDeliveryList(Pagination page, Map search);

    List<AppointQueryVO> queryAppointListByDeliveryNo(Map search);

    DeliveryQueryVO queryDeliveryInfo(Map search);

    List<DeliveryPointQueryVO> getDeliveryPointList(Map search);

    int deleteDelivery(String operationId);

    List<String>  appointNo(String operationId);

    int updateIsHandle(String appointNo);




}
